<h1>Edit Profile</h1>
<?php if($this->session->flashdata('notif') != ""): ?>
	<p><?php echo $this->session->flashdata('notif'); ?></p>
<?php endif; ?>
<form action="<?php echo site_url("mimin_jonu/updateprofile/$adm->jonu_admin_id") ?>" method="post">
	<table>
		<tr>
			<td><label>Nama</label></td>
			<td><input type="text" name="adm_fullname" value="<?php echo $adm->jonu_admin_fullname ?>"></td>
		</tr>
		<tr>
			<td><label>Email</label></td>
			<td><input type="email" name="adm_email" value="<?php echo $adm->jonu_admin_email ?>"></td>
		</tr>
		<tr>
			<td><label>New Password</label></td>
			<td><input type="password" name="adm_pass"></td>
		</tr>
		<tr>
			<td><label>Re-type Password</label></td>
			<td><input type="password" name="adm_retype_pass"></td>
		</tr>
		<tr>
			<td><label>Jenis Kelamin</label></td>
			<td>
				<select name="adm_jk">
					<option value="Pria">Pria</option>
					<option value="Wanita">Wanita</option>
				</select>
				<small>Current : <?php echo $adm->jonu_admin_sex ?></small>
			</td>
		</tr>
		<tr>
			<td>Tanggal Lahir</td>
			<td><input type="text" name="adm_born" value="<?php echo $adm->jonu_admin_born ?>"></td>
		</tr>
	</table>
	<input type="submit" name="btn_edit_adm" value="Edit"/>
</form>